x86/speculation/mds: Add sysfs reporting for MDS
authorThomas Gleixner <tglx@linutronix.de>
Mon, 18 Feb 2019 21:51:43 +0000 (22:51 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commit99aebf3cb5ed4464b565ff52bc81d4de892eeb05
treed1d9fcf4cd7eb446df95b7e6a445f8d22c2ce2f2
parentac023d65ac7f7d393961ecb96955d79985e9f16c
x86/speculation/mds: Add sysfs reporting for MDS

commit 8a4b06d391b0a42a373808979b5028f5c84d9c6a upstream

Add the sysfs reporting file for MDS. It exposes the vulnerability and
mitigation state similar to the existing files for the other speculative
hardware vulnerabilities.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jon Masters <jcm@redhat.com>
Tested-by: Jon Masters <jcm@redhat.com>
Gbp-Pq: Topic bugfix/all/spec
Gbp-Pq: Name 0014-x86-speculation-mds-Add-sysfs-reporting-for-MDS.patch
Documentation/ABI/testing/sysfs-devices-system-cpu
arch/x86/kernel/cpu/bugs.c
drivers/base/cpu.c
include/linux/cpu.h